package com.kuang.mapper;

import com.kuang.pojo.AstControllerHeart;
import com.kuang.pojo.AstLocalOpeningWell;
import com.kuang.pojo.AstRemoteOpeningWell;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

//注解表示了这是一个mybatis的一个mapper类  Dao层
@Mapper
@Repository  // Dao层的注解
//remote_opening_well  设备端远程开井实时
public interface AstRemoteOpeningWellMapper {

    int insert(AstRemoteOpeningWell astRemoteOpeningWell);

    List<AstRemoteOpeningWell> selectAll();

    List<AstRemoteOpeningWell> selectAllByExample(AstRemoteOpeningWell astRemoteOpeningWell);

    int update(AstRemoteOpeningWell astRemoteOpeningWell);

    List<AstRemoteOpeningWell> selectAllByFail();
}
